package com.chat.api.web.po;

import com.chat.api.web.vo.BaseIDWorkEntity;
import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Proxy(lazy = false)
@Data
@Table(name = "like_blog")
public class LikeBean extends BaseIDWorkEntity<LikeBean> {

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "blog_id")
    private Long blogId;

    @Column(name = "is_like")
    private Integer isLike;//是否点赞

    @Column(name = "is_collect")
    private Integer isCollect;//是否收藏

}
